//-----------------------------------------------------------------------
// <copyright file="a_PromoBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_PromoBase
	{
		
		#region Variable Declarations
		private int				promoID = 0;
		private int				prodID = 0;
		private decimal				price = 0;
		private DateTime				dateStart = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				dateEnd = new DateTime(1900,1,1,0,0,0,0);
		private int				storeID = 0;
		private int				domainID = 0;
		#endregion
		
		#region Constructors
		public a_PromoBase() {}
		
		public a_PromoBase (
			int promoID,
			int prodID,
			decimal price,
			DateTime dateStart,
			DateTime dateEnd,
			int storeID,
			int domainID)
		
		{
			this.promoID = promoID;
			this.prodID = prodID;
			this.price = price;
			this.dateStart = dateStart;
			this.dateEnd = dateEnd;
			this.storeID = storeID;
			this.domainID = domainID;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int PromoID
		{
			get { return promoID; }
			set { promoID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ProdID
		{
			get { return prodID; }
			set { prodID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is money</value>
		public decimal Price
		{
			get { return price; }
			set { price = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime DateStart
		{
			get { return dateStart; }
			set { dateStart = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime DateEnd
		{
			get { return dateEnd; }
			set { dateEnd = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StoreID
		{
			get { return storeID; }
			set { storeID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DomainID
		{
			get { return domainID; }
			set { domainID = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_PromoColumns
	{
		PromoID,
		ProdID,
		Price,
		DateStart,
		DateEnd,
		StoreID,
		DomainID
	}//End enum
}